package com.itheima.service.oms;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.utils.PageResult;
import com.itheima.vo.oms.OmsOrderReturnReason;

import java.util.List;

/**
 * <p>
 * 退货原因表 服务类
 * </p>
 *
 * @author 王志斌
 * @since 2022-07-06
 */
public interface IOmsOrderReturnReasonService extends IService<OmsOrderReturnReason> {

    OmsOrderReturnReason select(Long id);

    Integer updateReturnReason(Long id, OmsOrderReturnReason reason);

    Integer updateStatus(Long id, Integer status);

    Integer delete(List<Long> ids);

    Integer create(OmsOrderReturnReason reason);

    PageResult pagelist(Integer pageNum, Integer pageSize);

    /*   PageResult pagelist(Integer pageNum, Integer pageSize);*/
}
